package com.xyz.frame.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xyz.frame.dao.MomentMediaMapper;
import com.xyz.frame.bean.dto.MomentMediaResponseDTO;
import com.xyz.frame.bean.model.MomentMediaEntity;
import com.xyz.frame.service.MomentMediaService;
import com.xyz.frame.service.UserXqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("momentMediaService")
public class MomentMediaServiceImpl
        extends ServiceImpl<MomentMediaMapper, MomentMediaEntity>
        implements MomentMediaService {

    @Autowired
    UserXqService userXqService;

    @Override
    public List<MomentMediaResponseDTO> getMomentImageList(String uid) {
        return baseMapper.selectMomentImageList(uid);
    }

}